package com.zyh.util;



public class ReplaceUtil {
    public static String userReplace(String username){
       return  "<a "+"href='/profile/"+username+"'>"+username+"</a>";
    }
    public static String PostReplace(int id,String title){
        return "<a "+"href='/detail/"+id+"'>"+title+"</a>";
    }

    public static String mentionReplace(int id,String title){
        return "<a "+"href='/mention/"+id+"'>"+title+"</a>";
    }
}
